<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>excel下载数据报表</title>
    <script type="application/javascript" th:src="@{/webjars/jquery/3.3.1/jquery.js}"></script>
    <script type="application/javascript" th:src="@{/webjars/bootstrap/3.1.1/js/bootstrap.js}"></script>
</head>
<script>
    function download(a) {
        location="/ED_threshold_training/excel/get?type="+a;
    }
</script>
<body>
<div style="width: 600px;margin-left: 200px;margin-top: 100px">
    <div class="btn">
        <button class="btn btn-default" onclick="download(1)" style="width: 500px">被试训练时的正确率与反应时报表导出</button>
    </div>
    <div class="btn">
        <button class="btn btn-default" onclick="download(2)" style="width: 500px">被试测试时的正确率与反应时报表导出</button>
    </div>
    <div class="btn">
        <button class="btn btn-default" onclick="download(3)" style="width: 500px">被试每个组合图片的反应时和是否正确报表导出(训练)</button>
    </div>
    <div class="btn">
        <button class="btn btn-default" onclick="download(4)" style="width: 500px">被试每个组合图片的反应时和是否正确报表导出(正式测试)</button>
    </div>
</div>
<p th:text="${msg}" th:if="${msg != null}"></p>
</body>
</html>